<template>
	<view class="upload" @tap="chooseImage"><image src="/static/images/upload.png" mode="widthFix"></image></view>
</template>

<script>
export default {
	name: 'upload',
	data() {
		return {};
	},
	methods:{
		chooseImage: function() {
			let _this = this;
			uni.chooseImage({
				count: 1,
				success: function(e) {
					
				}
			});
		},
	}
};
</script>

<style lang="less">
.upload {
	height: 128upx;
	width: 128upx;
	image {
		display: block;
		width: 100%;
		height: 100%;
	}
}
</style>
